#include<iostream>
#include<fstream>
using namespace std;

class Person5 {
public:
	char m_name[64];
	int m_age;
};

void main03() {
	fstream ifs("d:/a.txt", ios::in | ios::binary);
	
	Person5 p1 ;
	ifs.read((char*)&p1, sizeof(Person5));
	cout << p1.m_name << endl;
	cout << p1.m_age << endl;
}